package routers

import (
	"github.com/astaxie/beego"
)

func init() {

	beego.GlobalControllerRouter["gobuild/controllers:ConfigurationController"] = append(beego.GlobalControllerRouter["gobuild/controllers:ConfigurationController"],
		beego.ControllerComments{
			Method: "SaveGlobalToolConfiguration",
			Router: `/services/ConfigurationService/SaveGlobalToolConfiguration`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["gobuild/controllers:ConfigurationController"] = append(beego.GlobalControllerRouter["gobuild/controllers:ConfigurationController"],
		beego.ControllerComments{
			Method: "GetGlobalToolConfiguration",
			Router: `/services/ConfigurationService/GetGlobalToolConfiguration`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["gobuild/controllers:JobController"] = append(beego.GlobalControllerRouter["gobuild/controllers:JobController"],
		beego.ControllerComments{
			Method: "SaveJob",
			Router: `/services/JobService/SaveJob`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

	beego.GlobalControllerRouter["gobuild/controllers:JobController"] = append(beego.GlobalControllerRouter["gobuild/controllers:JobController"],
		beego.ControllerComments{
			Method: "GetJobDropDown",
			Router: `/services/JobService/GetJobDropDown`,
			AllowHTTPMethods: []string{"post"},
			Params: nil})

}
